import Pageable from "@/utils/Pageable";
import { Request } from "@/utils/http";
import { ServerResponse } from "@/utils/serverResponse";

interface queryParams {

}

interface listItem {

}

interface listVo extends Pageable {
    data: listItem[]
}

export default class UserApi {

    // 获取用户列表
    public async userList(params: queryParams): Promise<listVo | undefined> {
        const res: ServerResponse<listVo> = await Request.post('/api/user/list', params)
        return res.data
    }
}